package routers

import (
	"device-admin/internal/app/web/controller"
	"device-admin/internal/app/web/middleware"

	"github.com/gin-gonic/gin"
)

// teleport 堡垒机
func teleport(rg *gin.RouterGroup) {
	rg.Use(middleware.DeviceOnlineCheck())
	rg.GET("/get-95file-info", controller.Teleport{}.Get95FileInfo)  // 95文件信息
	rg.GET("/download-95file", controller.Teleport{}.Download95File) // 下载95文件
	rg.POST("/screencap/cap", controller.Screencap{}.Cap)            // 触发截屏
	rg.GET("/screencap/list", controller.Screencap{}.List)           // 截图列表
}
